<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./script/bootstrap/css/bootstrap.css">
    <script src="./script/jquery-2.2.3.min.js"></script>
    <script src="./script/bootstrap/js/bootstrap.js"></script>
    <style>
        #fireCommandDlg .dropdown-menu li {
            text-align: center;
        }

        #fireCommandDlg .dropdown-menu img {
            height: 40px
        }

        #fireCommandDlg .dropdown-menu li span {
            display: block;
        }
    </style>
</head>

<body>
    <!-- Button trigger modal -->
    <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#wgPoint">
        Launch demo modal
    </button>

    <!-- Modal -->
    <div class="modal fade" id="wgPoint" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title" id="exampleModalLabel">请输入指定对象的名称</h4>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="form-group">
                            <label for="fireCommnad-name" class="control-label">网关点名称:</label>
                            <input type="text" class="form-control" id="fireCommnad-name">
                        </div>
                        <div class="form-group">
                            <div class="dropdown">
                                <a id="dLabel" data-target="#" href="http://example.com" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                    网关点类型
                                    <span class="caret"></span>
                                </a>

                                <ul class="dropdown-menu" aria-labelledby="dLabel">
                                    <li>
                                        <a href="#">
                                            <span>汽车</span>
                                            <img src="./car.png" alt="">
                                        </a>
                                        <a href="#">
                                            <span>学校</span>
                                            <img src="./school.png" alt="">
                                        </a>
                                        <a href="#">
                                            <span>消防车</span>
                                            <img src="./fire-truk.png" alt="">
                                        </a>
                                        <a href="#">
                                            <span>疏散点</span>
                                            <img src="./escape.png" alt="">
                                        </a>
                                        <a href="#">
                                            <span>直升机</span>
                                            <img src="./Helicopter.png" alt="">
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">

                    <button type="button" class="btn btn-primary" id="btnSaveCommandFireName">确定</button>
                </div>
            </div>
        </div>
    </div>
</body>

</html>